home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
PET
/
S-Super PET
/
(s)t5.d64
/
EDA.BOXPLOT.INF
< prev
next >
Wrap
Text File
|
2009-01-18
|
2KB
|
54 lines
box plot displays
`````````````````
introduction box plots provide a simple means of displaying data
by enclosing data values which fall within the upper
and lower quartiles in a box, and representing data
values which fall outside this range by characters
which indicate the extent. example >_
M@@@@@@@@@M
OO =________M ` M_________= O
2 MFFFFFFFFFM 4
where >_ ` represents the median of the data set
M marks the ends of the box representing
the upper and lower quartiles
= marks the upper and lower eighths
O represents data values falling outside
the eighths
represents data values a long way outside
the numbers simply give a count of values lying in
outlier positions that are too close to separate
command syntax boxplot dddd _ produces a box plot display of
data stored in dddd
boxplot ddddP0.5 _produces a box plot display of
the square roots of data in dddd
boxplot dddd;<3' _produces a box plot of the
data stored in column 3 of the
array dddd.
PP nb PP it is assumed that dddd is a data set in the workspace
comments Jboxplot accepts numeric vectors or arrays as its
right argument
parameters Jthe user may alter the length of the display by
changing the default value the variable KlengthK
errors see comments in this section of stemleafFinfo
PPPP practice PPPPK
this work space contains the data set called insects :p 12, mcneil"
try entering the following commands>_
insects _display data in insects
boxplot insectsK
boxplot insectsP0.5 _square roots of data
boxplot insects;<3 4 5' _use cols 3,4 and 5 of insects